public class charSet implements Comparable<charSet> {
    char key;
    int value;

    public charSet() {

    }

    public int compareTo(charSet other) {
        if (this.key > other.key) {
            return 1;
        } else if (this.key == other.key) {
            return 0;
        } else {
            return -1;
        }
    }
}
